package com.amos.mqserver.pojo;

/**
 * @author liangh on 2018/9/12 0012.
 */
public enum ExchangeType {

    /**
     * 交换机类型，固定的三种类型类型
     */
    DIRECT_EXCHANGE("direct"),
    FANOUT_EXCHANGE("fanout"),
    TOPIC_EXCHANGE("topic");

    private final String name;

    private ExchangeType(String name)
    {
        this.name = name;
    }

    public String getExchangeType() {
        return name;
    }

}
